\hypertarget{classShipCAD_1_1ShipCADModel}{}\section{Ship\+C\+AD\+:\+:Ship\+C\+A\+D\+Model Class Reference}
\label{classShipCAD_1_1ShipCADModel}\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}


{\ttfamily \#include $<$shipcadmodel.\+h$>$}

Inheritance diagram for Ship\+C\+AD\+:\+:Ship\+C\+A\+D\+Model\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classShipCAD_1_1ShipCADModel}
\end{center}
\end{figure}
\subsection*{Signals}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{classShipCAD_1_1ShipCADModel_a036ed7f2f1f5e592c64ef8f0ccf29204}{undo\+Data\+Changed} ()
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classShipCAD_1_1ShipCADModel_abede72e53058c2ecf8dc2c4b2a7c8014}{Ship\+C\+A\+D\+Model} ()
\item 
\hyperlink{classShipCAD_1_1ShipCADModel_a9731f3987d1f1d31d9df48f129a65fea}{$\sim$\+Ship\+C\+A\+D\+Model} ()
\item 
\hyperlink{classShipCAD_1_1SubdivisionSurface}{Subdivision\+Surface} $\ast$ \hyperlink{classShipCAD_1_1ShipCADModel_a6941ad7a2b167419e844823fa8461019}{get\+Surface} ()
\item 
const \hyperlink{classShipCAD_1_1SubdivisionSurface}{Subdivision\+Surface} $\ast$ \hyperlink{classShipCAD_1_1ShipCADModel_ab0b738e5f12d8f7046570704fd801cc6}{get\+Surface} () const 
\item 
\hyperlink{classShipCAD_1_1Visibility}{Visibility} \& \hyperlink{classShipCAD_1_1ShipCADModel_a50cca4c783baeba58c8068c9b8a5d6a4}{get\+Visibility} ()
\item 
const \hyperlink{classShipCAD_1_1Visibility}{Visibility} \& \hyperlink{classShipCAD_1_1ShipCADModel_a29d8990bbd06e11c93c6639b76b9fde1}{get\+Visibility} () const 
\item 
\hyperlink{classShipCAD_1_1ProjectSettings}{Project\+Settings} \& \hyperlink{classShipCAD_1_1ShipCADModel_a94a8eed8ac8ff4ad8287a0a1113e3271}{get\+Project\+Settings} ()
\item 
\hyperlink{classShipCAD_1_1Preferences}{Preferences} \& \hyperlink{classShipCAD_1_1ShipCADModel_aa6af8872deba5b401ac575a85901a265}{get\+Preferences} ()
\item 
void \hyperlink{classShipCAD_1_1ShipCADModel_adcf0db573afa7c865de68d0b36d41f15}{new\+Model} (\hyperlink{namespaceShipCAD_ac6a7a28b4b063771afae92decb602da5}{unit\+\_\+type\+\_\+t} units, float length, float breadth, float draft, size\+\_\+t rows, size\+\_\+t cols)
\begin{DoxyCompactList}\small\item\em create a new model \end{DoxyCompactList}\item 
void \hyperlink{classShipCAD_1_1ShipCADModel_a89923c0700e57eebf85332cfc9180765}{build\+Valid\+Frame\+Table} (\hyperlink{namespaceShipCAD_a053b941b2c87049bb9380428d4d5a056}{Spline\+Vector} \&dest, bool close\+\_\+at\+\_\+deck)
\begin{DoxyCompactList}\small\item\em Assembles all stations and builds a 2D bodyplan. \end{DoxyCompactList}\item 
bool \hyperlink{classShipCAD_1_1ShipCADModel_ad2333f42cf37a754f3d29b33466e5cd2}{is\+Build} () const 
\item 
void \hyperlink{classShipCAD_1_1ShipCADModel_ab221977f2a8bd4d51d6ee777be0d7b8a}{set\+Build} (bool set)
\item 
void \hyperlink{classShipCAD_1_1ShipCADModel_a5e9e159fc6c1fcd06cc14005bb0e51c8}{scale\+Model} (const Q\+Vector3D \&scale, bool override\+\_\+lock, bool adjust\+\_\+markers)
\begin{DoxyCompactList}\small\item\em scale the entire model and all associated data such as sttions \end{DoxyCompactList}\item 
void \hyperlink{classShipCAD_1_1ShipCADModel_ac1b60be4b08de357c6a1aa0f8e1c0a9b}{move\+Faces} (std\+::vector$<$ \hyperlink{classShipCAD_1_1SubdivisionControlPoint}{Subdivision\+Control\+Point} $\ast$ $>$ \&points, const Q\+Vector3D \&vec, bool adjust\+\_\+markers)
\begin{DoxyCompactList}\small\item\em move selected faces and all associated data \end{DoxyCompactList}\item 
\hyperlink{classShipCAD_1_1Intersection}{Intersection} $\ast$ \hyperlink{classShipCAD_1_1ShipCADModel_a83e2091e476b3ea89c75ecb25f46268b}{create\+Intersection} (\hyperlink{namespaceShipCAD_aa56834b730aafdf2786ddc9a60a046fd}{intersection\+\_\+type\+\_\+t} ty, float distance)
\begin{DoxyCompactList}\small\item\em create an intersection \end{DoxyCompactList}\item 
\hyperlink{classShipCAD_1_1SubdivisionControlPoint}{Subdivision\+Control\+Point} $\ast$ \hyperlink{classShipCAD_1_1ShipCADModel_afe13cf557e067ae883433aa6f5afaf6a}{get\+Active\+Control\+Point} () const 
\begin{DoxyCompactList}\small\item\em get the active control point \end{DoxyCompactList}\item 
void \hyperlink{classShipCAD_1_1ShipCADModel_a523a7e9948d95a71e9008d386daeafee}{set\+Active\+Control\+Point} (\hyperlink{classShipCAD_1_1SubdivisionControlPoint}{Subdivision\+Control\+Point} $\ast$pt)
\begin{DoxyCompactList}\small\item\em set the active control point \end{DoxyCompactList}\item 
\hyperlink{namespaceShipCAD_ae13c7e36dfb1e2300741a631041cd915}{precision\+\_\+t} \hyperlink{classShipCAD_1_1ShipCADModel_a0835431712a18b9f83e64135486c1403}{get\+Precision} () const 
\begin{DoxyCompactList}\small\item\em get precision of model \end{DoxyCompactList}\item 
void \hyperlink{classShipCAD_1_1ShipCADModel_a6133fe12cd13b6ce24424e19a8b1e433}{set\+Precision} (\hyperlink{namespaceShipCAD_ae13c7e36dfb1e2300741a631041cd915}{precision\+\_\+t} precision)
\begin{DoxyCompactList}\small\item\em set precision of model \end{DoxyCompactList}\item 
\hyperlink{namespaceShipCAD_af3a6fa23a7318acbda7b0066b53d694f}{version\+\_\+t} \hyperlink{classShipCAD_1_1ShipCADModel_a837f41ecb002cd0e197d365edbef3d52}{get\+File\+Version} () const 
\item 
void \hyperlink{classShipCAD_1_1ShipCADModel_a44ac7a48c0c01cae73bf723120071e72}{set\+File\+Version} (\hyperlink{namespaceShipCAD_af3a6fa23a7318acbda7b0066b53d694f}{version\+\_\+t} v)
\item 
\hyperlink{namespaceShipCAD_a9910f0963197f9df6125398efd4fa139}{Intersection\+Vector} \& \hyperlink{classShipCAD_1_1ShipCADModel_a86da3ca66e90403ead21ccc67f584c52}{get\+Stations} ()
\item 
\hyperlink{namespaceShipCAD_a9910f0963197f9df6125398efd4fa139}{Intersection\+Vector} \& \hyperlink{classShipCAD_1_1ShipCADModel_a6c147a75fa02e43145de346efb9542fd}{get\+Waterlines} ()
\item 
\hyperlink{namespaceShipCAD_a9910f0963197f9df6125398efd4fa139}{Intersection\+Vector} \& \hyperlink{classShipCAD_1_1ShipCADModel_a8908d7adff0b1aa1ed118103c02c5402}{get\+Buttocks} ()
\item 
\hyperlink{namespaceShipCAD_a9910f0963197f9df6125398efd4fa139}{Intersection\+Vector} \& \hyperlink{classShipCAD_1_1ShipCADModel_a19864f7628c596553f7c89247715b10a}{get\+Diagonals} ()
\item 
\hyperlink{namespaceShipCAD_a66144e3f3a53da01f51c9bdb94fcae31}{edit\+\_\+mode\+\_\+t} \hyperlink{classShipCAD_1_1ShipCADModel_a636a331e17c59db296527d1aca0ad01d}{get\+Edit\+Mode} () const 
\item 
void \hyperlink{classShipCAD_1_1ShipCADModel_a2636160d900b8d8b00802ae78ee87925}{set\+Edit\+Mode} (\hyperlink{namespaceShipCAD_a66144e3f3a53da01f51c9bdb94fcae31}{edit\+\_\+mode\+\_\+t} mode)
\item 
size\+\_\+t \hyperlink{classShipCAD_1_1ShipCADModel_a859625224375157010421a69f96ec639}{count\+Selected\+Items} () const 
\begin{DoxyCompactList}\small\item\em count the number of currently selected items \end{DoxyCompactList}\item 
void \hyperlink{classShipCAD_1_1ShipCADModel_a690bd5621d82d15a28ea59c09ded99d8}{clear\+Selected\+Items} ()
\begin{DoxyCompactList}\small\item\em clear all selected items \end{DoxyCompactList}\item 
Q\+String \hyperlink{classShipCAD_1_1ShipCADModel_a4c29a9dd9e31c652a82b6398c8f7b983}{get\+Filename} () const 
\begin{DoxyCompactList}\small\item\em name of file \end{DoxyCompactList}\item 
void \hyperlink{classShipCAD_1_1ShipCADModel_a07daf75d876f80296f841f5c8d2327cb}{set\+Filename} (const Q\+String \&name)
\begin{DoxyCompactList}\small\item\em set the name of the file \end{DoxyCompactList}\item 
bool \hyperlink{classShipCAD_1_1ShipCADModel_a9aa140f98f5f02a30743e2b9ce3d7d28}{is\+Filename\+Set} () const 
\begin{DoxyCompactList}\small\item\em get flag for filename set \end{DoxyCompactList}\item 
void \hyperlink{classShipCAD_1_1ShipCADModel_a960f3e97ef2aa847c9bb7cdc7731cd39}{set\+Filename\+Set} (bool flag)
\begin{DoxyCompactList}\small\item\em set flag for filename set \end{DoxyCompactList}\item 
\hyperlink{namespaceShipCAD_a0c7b012d8868cbb43871cf0bf303ccc6}{Hydrostatic\+Calc\+Vector} \& \hyperlink{classShipCAD_1_1ShipCADModel_aafc30dd7d6b9db4ccfc7bf1c4e2b3b11}{get\+Hydrostatic\+Calculations} ()
\item 
\hyperlink{namespaceShipCAD_a36fff5b53986f6d6976afc749463ef22}{Marker\+Vector} \& \hyperlink{classShipCAD_1_1ShipCADModel_abc5faaa00b4b34bc1b0b1cd52af4ab3b}{get\+Markers} ()
\item 
size\+\_\+t \hyperlink{classShipCAD_1_1ShipCADModel_a6feda4dd07262d1f137f8f8a677bd23d}{number\+Of\+Markers} () const 
\item 
\hyperlink{classShipCAD_1_1Marker}{Marker} $\ast$ \hyperlink{classShipCAD_1_1ShipCADModel_ac7fd2d6607f589a20444f3efb8fde63b}{add\+Marker} ()
\item 
bool \hyperlink{classShipCAD_1_1ShipCADModel_ac7aabd58923105ec36b27d44d747aa42}{is\+Selected\+Marker} (\hyperlink{classShipCAD_1_1Marker}{Marker} $\ast$mark) const 
\item 
void \hyperlink{classShipCAD_1_1ShipCADModel_afd7e984f4070d08cb16264c1b731580f}{set\+Selected\+Marker} (\hyperlink{classShipCAD_1_1Marker}{Marker} $\ast$mark)
\item 
void \hyperlink{classShipCAD_1_1ShipCADModel_a7fb06b0a1fa75ef02597752fc3f691a2}{remove\+Selected\+Marker} (\hyperlink{classShipCAD_1_1Marker}{Marker} $\ast$mark)
\item 
size\+\_\+t \hyperlink{classShipCAD_1_1ShipCADModel_a3138ff1240e6ccc1e9072c066a0ffedf}{number\+Of\+Selected\+Markers} () const 
\item 
void \hyperlink{classShipCAD_1_1ShipCADModel_a2e6888d7b5e8d6346286d0262a93a183}{delete\+Marker} (\hyperlink{classShipCAD_1_1Marker}{Marker} $\ast$mark)
\item 
\hyperlink{classShipCAD_1_1Flowline}{Flowline} $\ast$ \hyperlink{classShipCAD_1_1ShipCADModel_a73494d53c57b4401f59f3feb3d73941b}{add\+Flowline} (const Q\+Vector2D \&pt, \hyperlink{namespaceShipCAD_aeeeb05810f2e31ef89fd4ac6b6ba9c0a}{viewport\+\_\+type\+\_\+t} ty)
\item 
\hyperlink{classShipCAD_1_1Flowline}{Flowline} $\ast$ \hyperlink{classShipCAD_1_1ShipCADModel_afc5654f671a17dd6672230648842975e}{get\+Flowline} (size\+\_\+t index)
\item 
size\+\_\+t \hyperlink{classShipCAD_1_1ShipCADModel_a7bb6418bfa20645211e6bdbf8c6ef951}{number\+Of\+Flowlines} () const 
\item 
bool \hyperlink{classShipCAD_1_1ShipCADModel_afcac043bc1d1c627e95ca1bc4aa0174e}{is\+Selected\+Flowline} (\hyperlink{classShipCAD_1_1Flowline}{Flowline} $\ast$flow) const 
\begin{DoxyCompactList}\small\item\em is the flowline selected \end{DoxyCompactList}\item 
void \hyperlink{classShipCAD_1_1ShipCADModel_a33962f53b44136c2840f8f7fa2e362f3}{set\+Selected\+Flowline} (\hyperlink{classShipCAD_1_1Flowline}{Flowline} $\ast$flow)
\begin{DoxyCompactList}\small\item\em set a flowline as selected \end{DoxyCompactList}\item 
void \hyperlink{classShipCAD_1_1ShipCADModel_a341f8be57a7cf6c04356a731b3b30c37}{remove\+Selected\+Flowline} (\hyperlink{classShipCAD_1_1Flowline}{Flowline} $\ast$flow)
\begin{DoxyCompactList}\small\item\em deselect a flowline \end{DoxyCompactList}\item 
size\+\_\+t \hyperlink{classShipCAD_1_1ShipCADModel_a4c534c40efab65e1b92481f1fa7f07a9}{number\+Of\+Selected\+Flowlines} () const 
\begin{DoxyCompactList}\small\item\em count of selected flowlines \end{DoxyCompactList}\item 
void \hyperlink{classShipCAD_1_1ShipCADModel_a7777da02744250aebce9be35063ba0f5}{delete\+Flowline} (\hyperlink{classShipCAD_1_1Flowline}{Flowline} $\ast$flow)
\begin{DoxyCompactList}\small\item\em delete a flowline from the model \end{DoxyCompactList}\item 
bool \hyperlink{classShipCAD_1_1ShipCADModel_aac25049d627953c15c5343b2f888f688}{is\+File\+Changed} () const 
\begin{DoxyCompactList}\small\item\em file changed flag \end{DoxyCompactList}\item 
void \hyperlink{classShipCAD_1_1ShipCADModel_ae8fe6d69df313f7459235de1a0614e8c}{set\+File\+Changed} (bool changed)
\begin{DoxyCompactList}\small\item\em set file changed flag \end{DoxyCompactList}\item 
\hyperlink{classShipCAD_1_1UndoObject}{Undo\+Object} $\ast$ \hyperlink{classShipCAD_1_1ShipCADModel_a0e9a74dd26baa734437aba2ee05fa940}{create\+Undo} (const Q\+String \&undotext, bool accept)
\begin{DoxyCompactList}\small\item\em create an undo object \end{DoxyCompactList}\item 
void \hyperlink{classShipCAD_1_1ShipCADModel_a7e54e8d3a1b972014a3cd71cc57c74dc}{accept\+Undo} (\hyperlink{classShipCAD_1_1UndoObject}{Undo\+Object} $\ast$\hyperlink{classShipCAD_1_1ShipCADModel_a31cd6dcb665c21c1626599d57ae73684}{undo})
\begin{DoxyCompactList}\small\item\em add an undo to the undo list \end{DoxyCompactList}\item 
void \hyperlink{classShipCAD_1_1ShipCADModel_a31cd6dcb665c21c1626599d57ae73684}{undo} ()
\begin{DoxyCompactList}\small\item\em undo the last operation \end{DoxyCompactList}\item 
void \hyperlink{classShipCAD_1_1ShipCADModel_ac7f369ecf1a53a751f8774263d3ecd95}{redo} ()
\begin{DoxyCompactList}\small\item\em redo the last undo \end{DoxyCompactList}\item 
size\+\_\+t \hyperlink{classShipCAD_1_1ShipCADModel_a6fc43771e5ab6fe985ed894f4a1f779c}{get\+Undo\+Memory} () const 
\begin{DoxyCompactList}\small\item\em get amount of memory used for undo \end{DoxyCompactList}\item 
bool \hyperlink{classShipCAD_1_1ShipCADModel_a31d65b98d41ec379ae9f27b7cf66b079}{can\+Undo} () const 
\item 
bool \hyperlink{classShipCAD_1_1ShipCADModel_a1178d14769f22603340413c416d6631f}{can\+Redo} () const 
\item 
void \hyperlink{classShipCAD_1_1ShipCADModel_ac8a3a46ed5864f651495bd450d11ef2a}{clear\+Undo} ()
\item 
float \hyperlink{classShipCAD_1_1ShipCADModel_ab16487a794947608cace81a06552b2b1}{find\+Lowest\+Hydrostatics\+Point} () const 
\begin{DoxyCompactList}\small\item\em get the lowest underwater point of hull \end{DoxyCompactList}\item 
void \hyperlink{classShipCAD_1_1ShipCADModel_ad3e49bc04c73dc221e48d15974b68f41}{load\+Binary} (\hyperlink{classShipCAD_1_1FileBuffer}{File\+Buffer} \&source)
\item 
void \hyperlink{classShipCAD_1_1ShipCADModel_a64c7c4ddffffdd1be2f27eb4210af2b7}{save\+Binary} (\hyperlink{classShipCAD_1_1FileBuffer}{File\+Buffer} \&dest)
\item 
void \hyperlink{classShipCAD_1_1ShipCADModel_a6be8a5765b6b9ee5b5dc0397bdd43be5}{load\+Preview} (\hyperlink{classShipCAD_1_1FileBuffer}{File\+Buffer} \&source, Q\+Image $\ast$image)
\begin{DoxyCompactList}\small\item\em load the preview image from a file \end{DoxyCompactList}\item 
void \hyperlink{classShipCAD_1_1ShipCADModel_a0d969a8b0f05767d6507290f118d769c}{save\+Part} (const Q\+String \&filename, \hyperlink{classShipCAD_1_1FileBuffer}{File\+Buffer} \&buffer, std\+::vector$<$ \hyperlink{classShipCAD_1_1SubdivisionControlFace}{Subdivision\+Control\+Face} $\ast$ $>$ \&faces)
\begin{DoxyCompactList}\small\item\em save selected faces as a part file \end{DoxyCompactList}\item 
bool \hyperlink{classShipCAD_1_1ShipCADModel_a167bdeeb8995f102acdbb8cdb92f34e3}{load\+Part} (\hyperlink{classShipCAD_1_1FileBuffer}{File\+Buffer} \&source, \hyperlink{namespaceShipCAD_af3a6fa23a7318acbda7b0066b53d694f}{version\+\_\+t} \&partversion)
\begin{DoxyCompactList}\small\item\em load a part \end{DoxyCompactList}\item 
void \hyperlink{classShipCAD_1_1ShipCADModel_ae03a368cf40f1781fb0ed8a60248dcc6}{load\+Chines\+From\+Text} (Q\+Text\+Stream \&file, \hyperlink{namespaceShipCAD_a053b941b2c87049bb9380428d4d5a056}{Spline\+Vector} \&splines)
\begin{DoxyCompactList}\small\item\em load splines from a text file \end{DoxyCompactList}\item 
void \hyperlink{classShipCAD_1_1ShipCADModel_a860a91c09307c71f738a75aec159e6d0}{import\+Chines} (size\+\_\+t np, \hyperlink{namespaceShipCAD_a053b941b2c87049bb9380428d4d5a056}{Spline\+Vector} \&chines)
\begin{DoxyCompactList}\small\item\em imports chines and creates developable surface \end{DoxyCompactList}\item 
void \hyperlink{classShipCAD_1_1ShipCADModel_a1b27573aab3a458f9002a7e4e327736a}{rebuild\+Model} (bool redo\+\_\+intersections)
\item 
void \hyperlink{classShipCAD_1_1ShipCADModel_aa7d2417dcc847ccf0f72d57eb333410e}{draw\+With\+Painter} (\hyperlink{classShipCAD_1_1Viewport}{Viewport} \&vp, Q\+Painter $\ast$painter)
\item 
void \hyperlink{classShipCAD_1_1ShipCADModel_abf593b803e96a1fd8e56f36b3b6d0954}{draw} (\hyperlink{classShipCAD_1_1Viewport}{Viewport} \&vp)
\item 
void \hyperlink{classShipCAD_1_1ShipCADModel_a83dbf01267c7736a8676336785178db6}{delete\+Selected} ()
\begin{DoxyCompactList}\small\item\em delete all selected items \end{DoxyCompactList}\item 
void \hyperlink{classShipCAD_1_1ShipCADModel_ad2f9dfd32667e9ac690de184b7e576f1}{clear} ()
\item 
void \hyperlink{classShipCAD_1_1ShipCADModel_a7ab84a738b747c4fcb2c3627e56d4bd0}{extents} (Q\+Vector3D \&min, Q\+Vector3D \&max)
\begin{DoxyCompactList}\small\item\em find the bounding box of the model \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{classShipCAD_1_1ShipCADModel_af719e24c12a21220c105fc7510d7b8ad}{draw\+Grid} (\hyperlink{classShipCAD_1_1Viewport}{Viewport} \&vp, Q\+Painter $\ast$painter)
\item 
\hyperlink{classShipCAD_1_1UndoObject}{Undo\+Object} $\ast$ \hyperlink{classShipCAD_1_1ShipCADModel_aa8079da42c7e5ab56ff60af82432d29d}{create\+Redo} ()
\begin{DoxyCompactList}\small\item\em create temp redo object at end of undo list \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}


Definition at line 63 of file shipcadmodel.\+h.



\subsection{Constructor \& Destructor Documentation}
\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+Model}}
\index{Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+Model}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{Ship\+C\+A\+D\+Model()}{ShipCADModel()}}]{\setlength{\rightskip}{0pt plus 5cm}Ship\+C\+A\+D\+Model\+::\+Ship\+C\+A\+D\+Model (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [explicit]}}\hypertarget{classShipCAD_1_1ShipCADModel_abede72e53058c2ecf8dc2c4b2a7c8014}{}\label{classShipCAD_1_1ShipCADModel_abede72e53058c2ecf8dc2c4b2a7c8014}


Definition at line 53 of file shipcadmodel.\+cpp.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!````~Ship\+C\+A\+D\+Model@{$\sim$\+Ship\+C\+A\+D\+Model}}
\index{````~Ship\+C\+A\+D\+Model@{$\sim$\+Ship\+C\+A\+D\+Model}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{$\sim$\+Ship\+C\+A\+D\+Model()}{~ShipCADModel()}}]{\setlength{\rightskip}{0pt plus 5cm}Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model\+::$\sim$\+Ship\+C\+A\+D\+Model (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{classShipCAD_1_1ShipCADModel_a9731f3987d1f1d31d9df48f129a65fea}{}\label{classShipCAD_1_1ShipCADModel_a9731f3987d1f1d31d9df48f129a65fea}


Definition at line 69 of file shipcadmodel.\+h.



\subsection{Member Function Documentation}
\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!accept\+Undo@{accept\+Undo}}
\index{accept\+Undo@{accept\+Undo}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{accept\+Undo(\+Undo\+Object $\ast$undo)}{acceptUndo(UndoObject *undo)}}]{\setlength{\rightskip}{0pt plus 5cm}void Ship\+C\+A\+D\+Model\+::accept\+Undo (
\begin{DoxyParamCaption}
\item[{{\bf Undo\+Object} $\ast$}]{undo}
\end{DoxyParamCaption}
)}\hypertarget{classShipCAD_1_1ShipCADModel_a7e54e8d3a1b972014a3cd71cc57c74dc}{}\label{classShipCAD_1_1ShipCADModel_a7e54e8d3a1b972014a3cd71cc57c74dc}


add an undo to the undo list 


\begin{DoxyParams}{Parameters}
{\em undo} & the object to put in the undo list \\
\hline
\end{DoxyParams}


Definition at line 351 of file shipcadmodel.\+cpp.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!add\+Flowline@{add\+Flowline}}
\index{add\+Flowline@{add\+Flowline}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{add\+Flowline(const Q\+Vector2\+D \&pt, viewport\+\_\+type\+\_\+t ty)}{addFlowline(const QVector2D &pt, viewport_type_t ty)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Flowline} $\ast$ Ship\+C\+A\+D\+Model\+::add\+Flowline (
\begin{DoxyParamCaption}
\item[{const Q\+Vector2D \&}]{pt, }
\item[{{\bf viewport\+\_\+type\+\_\+t}}]{ty}
\end{DoxyParamCaption}
)}\hypertarget{classShipCAD_1_1ShipCADModel_a73494d53c57b4401f59f3feb3d73941b}{}\label{classShipCAD_1_1ShipCADModel_a73494d53c57b4401f59f3feb3d73941b}


Definition at line 1127 of file shipcadmodel.\+cpp.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!add\+Marker@{add\+Marker}}
\index{add\+Marker@{add\+Marker}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{add\+Marker()}{addMarker()}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Marker} $\ast$ Ship\+C\+A\+D\+Model\+::add\+Marker (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\hypertarget{classShipCAD_1_1ShipCADModel_ac7fd2d6607f589a20444f3efb8fde63b}{}\label{classShipCAD_1_1ShipCADModel_ac7fd2d6607f589a20444f3efb8fde63b}


Definition at line 1114 of file shipcadmodel.\+cpp.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!build\+Valid\+Frame\+Table@{build\+Valid\+Frame\+Table}}
\index{build\+Valid\+Frame\+Table@{build\+Valid\+Frame\+Table}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{build\+Valid\+Frame\+Table(\+Spline\+Vector \&dest, bool close\+\_\+at\+\_\+deck)}{buildValidFrameTable(SplineVector &dest, bool close_at_deck)}}]{\setlength{\rightskip}{0pt plus 5cm}void Ship\+C\+A\+D\+Model\+::build\+Valid\+Frame\+Table (
\begin{DoxyParamCaption}
\item[{{\bf Spline\+Vector} \&}]{dest, }
\item[{bool}]{close\+\_\+at\+\_\+deck}
\end{DoxyParamCaption}
)}\hypertarget{classShipCAD_1_1ShipCADModel_a89923c0700e57eebf85332cfc9180765}{}\label{classShipCAD_1_1ShipCADModel_a89923c0700e57eebf85332cfc9180765}


Assembles all stations and builds a 2D bodyplan. 


\begin{DoxyParams}{Parameters}
{\em dest} & the spline list with assembled stations \\
\hline
{\em close\+\_\+at\+\_\+deck} & \\
\hline
\end{DoxyParams}


Definition at line 91 of file shipcadmodel.\+cpp.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!can\+Redo@{can\+Redo}}
\index{can\+Redo@{can\+Redo}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{can\+Redo() const }{canRedo() const }}]{\setlength{\rightskip}{0pt plus 5cm}bool Ship\+C\+A\+D\+Model\+::can\+Redo (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\hypertarget{classShipCAD_1_1ShipCADModel_a1178d14769f22603340413c416d6631f}{}\label{classShipCAD_1_1ShipCADModel_a1178d14769f22603340413c416d6631f}


Definition at line 447 of file shipcadmodel.\+cpp.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!can\+Undo@{can\+Undo}}
\index{can\+Undo@{can\+Undo}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{can\+Undo() const }{canUndo() const }}]{\setlength{\rightskip}{0pt plus 5cm}bool Ship\+C\+A\+D\+Model\+::can\+Undo (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\hypertarget{classShipCAD_1_1ShipCADModel_a31d65b98d41ec379ae9f27b7cf66b079}{}\label{classShipCAD_1_1ShipCADModel_a31d65b98d41ec379ae9f27b7cf66b079}


Definition at line 442 of file shipcadmodel.\+cpp.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!clear@{clear}}
\index{clear@{clear}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{clear()}{clear()}}]{\setlength{\rightskip}{0pt plus 5cm}void Ship\+C\+A\+D\+Model\+::clear (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\hypertarget{classShipCAD_1_1ShipCADModel_ad2f9dfd32667e9ac690de184b7e576f1}{}\label{classShipCAD_1_1ShipCADModel_ad2f9dfd32667e9ac690de184b7e576f1}


Definition at line 66 of file shipcadmodel.\+cpp.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!clear\+Selected\+Items@{clear\+Selected\+Items}}
\index{clear\+Selected\+Items@{clear\+Selected\+Items}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{clear\+Selected\+Items()}{clearSelectedItems()}}]{\setlength{\rightskip}{0pt plus 5cm}void Ship\+C\+A\+D\+Model\+::clear\+Selected\+Items (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\hypertarget{classShipCAD_1_1ShipCADModel_a690bd5621d82d15a28ea59c09ded99d8}{}\label{classShipCAD_1_1ShipCADModel_a690bd5621d82d15a28ea59c09ded99d8}


clear all selected items 



Definition at line 252 of file shipcadmodel.\+cpp.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!clear\+Undo@{clear\+Undo}}
\index{clear\+Undo@{clear\+Undo}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{clear\+Undo()}{clearUndo()}}]{\setlength{\rightskip}{0pt plus 5cm}void Ship\+C\+A\+D\+Model\+::clear\+Undo (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\hypertarget{classShipCAD_1_1ShipCADModel_ac8a3a46ed5864f651495bd450d11ef2a}{}\label{classShipCAD_1_1ShipCADModel_ac8a3a46ed5864f651495bd450d11ef2a}


Definition at line 452 of file shipcadmodel.\+cpp.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!count\+Selected\+Items@{count\+Selected\+Items}}
\index{count\+Selected\+Items@{count\+Selected\+Items}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{count\+Selected\+Items() const }{countSelectedItems() const }}]{\setlength{\rightskip}{0pt plus 5cm}size\+\_\+t Ship\+C\+A\+D\+Model\+::count\+Selected\+Items (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\hypertarget{classShipCAD_1_1ShipCADModel_a859625224375157010421a69f96ec639}{}\label{classShipCAD_1_1ShipCADModel_a859625224375157010421a69f96ec639}


count the number of currently selected items 

\begin{DoxyReturn}{Returns}
number of selected items 
\end{DoxyReturn}


Definition at line 239 of file shipcadmodel.\+cpp.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!create\+Intersection@{create\+Intersection}}
\index{create\+Intersection@{create\+Intersection}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{create\+Intersection(intersection\+\_\+type\+\_\+t ty, float distance)}{createIntersection(intersection_type_t ty, float distance)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Intersection} $\ast$ Ship\+C\+A\+D\+Model\+::create\+Intersection (
\begin{DoxyParamCaption}
\item[{{\bf intersection\+\_\+type\+\_\+t}}]{ty, }
\item[{float}]{distance}
\end{DoxyParamCaption}
)}\hypertarget{classShipCAD_1_1ShipCADModel_a83e2091e476b3ea89c75ecb25f46268b}{}\label{classShipCAD_1_1ShipCADModel_a83e2091e476b3ea89c75ecb25f46268b}


create an intersection 


\begin{DoxyParams}{Parameters}
{\em type} & which type of intersection \\
\hline
{\em distance} & location of intersection \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the created intersection, or 0 if not created 
\end{DoxyReturn}


Definition at line 846 of file shipcadmodel.\+cpp.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!create\+Redo@{create\+Redo}}
\index{create\+Redo@{create\+Redo}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{create\+Redo()}{createRedo()}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Undo\+Object} $\ast$ Ship\+C\+A\+D\+Model\+::create\+Redo (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [protected]}}\hypertarget{classShipCAD_1_1ShipCADModel_aa8079da42c7e5ab56ff60af82432d29d}{}\label{classShipCAD_1_1ShipCADModel_aa8079da42c7e5ab56ff60af82432d29d}


create temp redo object at end of undo list 

\begin{DoxyReturn}{Returns}
the undo object 
\end{DoxyReturn}


Definition at line 321 of file shipcadmodel.\+cpp.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!create\+Undo@{create\+Undo}}
\index{create\+Undo@{create\+Undo}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{create\+Undo(const Q\+String \&undotext, bool accept)}{createUndo(const QString &undotext, bool accept)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Undo\+Object} $\ast$ Ship\+C\+A\+D\+Model\+::create\+Undo (
\begin{DoxyParamCaption}
\item[{const Q\+String \&}]{undotext, }
\item[{bool}]{accept}
\end{DoxyParamCaption}
)}\hypertarget{classShipCAD_1_1ShipCADModel_a0e9a74dd26baa734437aba2ee05fa940}{}\label{classShipCAD_1_1ShipCADModel_a0e9a74dd26baa734437aba2ee05fa940}


create an undo object 


\begin{DoxyParams}{Parameters}
{\em undotext} & name of object shown in gui \\
\hline
{\em accept} & whether to accept the object into undo list at creation \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the undo object 
\end{DoxyReturn}


Definition at line 281 of file shipcadmodel.\+cpp.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!delete\+Flowline@{delete\+Flowline}}
\index{delete\+Flowline@{delete\+Flowline}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{delete\+Flowline(\+Flowline $\ast$flow)}{deleteFlowline(Flowline *flow)}}]{\setlength{\rightskip}{0pt plus 5cm}void Ship\+C\+A\+D\+Model\+::delete\+Flowline (
\begin{DoxyParamCaption}
\item[{{\bf Flowline} $\ast$}]{flow}
\end{DoxyParamCaption}
)}\hypertarget{classShipCAD_1_1ShipCADModel_a7777da02744250aebce9be35063ba0f5}{}\label{classShipCAD_1_1ShipCADModel_a7777da02744250aebce9be35063ba0f5}


delete a flowline from the model 


\begin{DoxyParams}{Parameters}
{\em flow} & the flowline to delete from the model \\
\hline
\end{DoxyParams}


Definition at line 1158 of file shipcadmodel.\+cpp.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!delete\+Marker@{delete\+Marker}}
\index{delete\+Marker@{delete\+Marker}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{delete\+Marker(\+Marker $\ast$mark)}{deleteMarker(Marker *mark)}}]{\setlength{\rightskip}{0pt plus 5cm}void Ship\+C\+A\+D\+Model\+::delete\+Marker (
\begin{DoxyParamCaption}
\item[{{\bf Marker} $\ast$}]{mark}
\end{DoxyParamCaption}
)}\hypertarget{classShipCAD_1_1ShipCADModel_a2e6888d7b5e8d6346286d0262a93a183}{}\label{classShipCAD_1_1ShipCADModel_a2e6888d7b5e8d6346286d0262a93a183}


Definition at line 1121 of file shipcadmodel.\+cpp.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!delete\+Selected@{delete\+Selected}}
\index{delete\+Selected@{delete\+Selected}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{delete\+Selected()}{deleteSelected()}}]{\setlength{\rightskip}{0pt plus 5cm}void Ship\+C\+A\+D\+Model\+::delete\+Selected (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\hypertarget{classShipCAD_1_1ShipCADModel_a83dbf01267c7736a8676336785178db6}{}\label{classShipCAD_1_1ShipCADModel_a83dbf01267c7736a8676336785178db6}


delete all selected items 



Definition at line 1164 of file shipcadmodel.\+cpp.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!draw@{draw}}
\index{draw@{draw}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{draw(\+Viewport \&vp)}{draw(Viewport &vp)}}]{\setlength{\rightskip}{0pt plus 5cm}void Ship\+C\+A\+D\+Model\+::draw (
\begin{DoxyParamCaption}
\item[{{\bf Viewport} \&}]{vp}
\end{DoxyParamCaption}
)}\hypertarget{classShipCAD_1_1ShipCADModel_abf593b803e96a1fd8e56f36b3b6d0954}{}\label{classShipCAD_1_1ShipCADModel_abf593b803e96a1fd8e56f36b3b6d0954}


Definition at line 680 of file shipcadmodel.\+cpp.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!draw\+Grid@{draw\+Grid}}
\index{draw\+Grid@{draw\+Grid}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{draw\+Grid(\+Viewport \&vp, Q\+Painter $\ast$painter)}{drawGrid(Viewport &vp, QPainter *painter)}}]{\setlength{\rightskip}{0pt plus 5cm}void Ship\+C\+A\+D\+Model\+::draw\+Grid (
\begin{DoxyParamCaption}
\item[{{\bf Viewport} \&}]{vp, }
\item[{Q\+Painter $\ast$}]{painter}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [protected]}}\hypertarget{classShipCAD_1_1ShipCADModel_af719e24c12a21220c105fc7510d7b8ad}{}\label{classShipCAD_1_1ShipCADModel_af719e24c12a21220c105fc7510d7b8ad}


Definition at line 469 of file shipcadmodel.\+cpp.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!draw\+With\+Painter@{draw\+With\+Painter}}
\index{draw\+With\+Painter@{draw\+With\+Painter}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{draw\+With\+Painter(\+Viewport \&vp, Q\+Painter $\ast$painter)}{drawWithPainter(Viewport &vp, QPainter *painter)}}]{\setlength{\rightskip}{0pt plus 5cm}void Ship\+C\+A\+D\+Model\+::draw\+With\+Painter (
\begin{DoxyParamCaption}
\item[{{\bf Viewport} \&}]{vp, }
\item[{Q\+Painter $\ast$}]{painter}
\end{DoxyParamCaption}
)}\hypertarget{classShipCAD_1_1ShipCADModel_aa7d2417dcc847ccf0f72d57eb333410e}{}\label{classShipCAD_1_1ShipCADModel_aa7d2417dcc847ccf0f72d57eb333410e}


Definition at line 462 of file shipcadmodel.\+cpp.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!extents@{extents}}
\index{extents@{extents}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{extents(\+Q\+Vector3\+D \&min, Q\+Vector3\+D \&max)}{extents(QVector3D &min, QVector3D &max)}}]{\setlength{\rightskip}{0pt plus 5cm}void Ship\+C\+A\+D\+Model\+::extents (
\begin{DoxyParamCaption}
\item[{Q\+Vector3D \&}]{min, }
\item[{Q\+Vector3D \&}]{max}
\end{DoxyParamCaption}
)}\hypertarget{classShipCAD_1_1ShipCADModel_a7ab84a738b747c4fcb2c3627e56d4bd0}{}\label{classShipCAD_1_1ShipCADModel_a7ab84a738b747c4fcb2c3627e56d4bd0}


find the bounding box of the model 


\begin{DoxyParams}{Parameters}
{\em the} & minimum corner of the bounding box \\
\hline
{\em the} & maximum corner of the bounding box \\
\hline
\end{DoxyParams}


Definition at line 145 of file shipcadmodel.\+cpp.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!find\+Lowest\+Hydrostatics\+Point@{find\+Lowest\+Hydrostatics\+Point}}
\index{find\+Lowest\+Hydrostatics\+Point@{find\+Lowest\+Hydrostatics\+Point}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{find\+Lowest\+Hydrostatics\+Point() const }{findLowestHydrostaticsPoint() const }}]{\setlength{\rightskip}{0pt plus 5cm}float Ship\+C\+A\+D\+Model\+::find\+Lowest\+Hydrostatics\+Point (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\hypertarget{classShipCAD_1_1ShipCADModel_ab16487a794947608cace81a06552b2b1}{}\label{classShipCAD_1_1ShipCADModel_ab16487a794947608cace81a06552b2b1}


get the lowest underwater point of hull 

\begin{DoxyReturn}{Returns}
lowest point of hull 
\end{DoxyReturn}


Definition at line 1066 of file shipcadmodel.\+cpp.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!get\+Active\+Control\+Point@{get\+Active\+Control\+Point}}
\index{get\+Active\+Control\+Point@{get\+Active\+Control\+Point}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{get\+Active\+Control\+Point() const }{getActiveControlPoint() const }}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Subdivision\+Control\+Point}$\ast$ Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model\+::get\+Active\+Control\+Point (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{classShipCAD_1_1ShipCADModel_afe13cf557e067ae883433aa6f5afaf6a}{}\label{classShipCAD_1_1ShipCADModel_afe13cf557e067ae883433aa6f5afaf6a}


get the active control point 

\begin{DoxyReturn}{Returns}
the active control point or 0 
\end{DoxyReturn}


Definition at line 130 of file shipcadmodel.\+h.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!get\+Buttocks@{get\+Buttocks}}
\index{get\+Buttocks@{get\+Buttocks}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{get\+Buttocks()}{getButtocks()}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Intersection\+Vector}\& Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model\+::get\+Buttocks (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{classShipCAD_1_1ShipCADModel_a8908d7adff0b1aa1ed118103c02c5402}{}\label{classShipCAD_1_1ShipCADModel_a8908d7adff0b1aa1ed118103c02c5402}


Definition at line 156 of file shipcadmodel.\+h.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!get\+Diagonals@{get\+Diagonals}}
\index{get\+Diagonals@{get\+Diagonals}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{get\+Diagonals()}{getDiagonals()}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Intersection\+Vector}\& Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model\+::get\+Diagonals (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{classShipCAD_1_1ShipCADModel_a19864f7628c596553f7c89247715b10a}{}\label{classShipCAD_1_1ShipCADModel_a19864f7628c596553f7c89247715b10a}


Definition at line 157 of file shipcadmodel.\+h.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!get\+Edit\+Mode@{get\+Edit\+Mode}}
\index{get\+Edit\+Mode@{get\+Edit\+Mode}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{get\+Edit\+Mode() const }{getEditMode() const }}]{\setlength{\rightskip}{0pt plus 5cm}{\bf edit\+\_\+mode\+\_\+t} Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model\+::get\+Edit\+Mode (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{classShipCAD_1_1ShipCADModel_a636a331e17c59db296527d1aca0ad01d}{}\label{classShipCAD_1_1ShipCADModel_a636a331e17c59db296527d1aca0ad01d}


Definition at line 159 of file shipcadmodel.\+h.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!get\+Filename@{get\+Filename}}
\index{get\+Filename@{get\+Filename}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{get\+Filename() const }{getFilename() const }}]{\setlength{\rightskip}{0pt plus 5cm}Q\+String Ship\+C\+A\+D\+Model\+::get\+Filename (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\hypertarget{classShipCAD_1_1ShipCADModel_a4c29a9dd9e31c652a82b6398c8f7b983}{}\label{classShipCAD_1_1ShipCADModel_a4c29a9dd9e31c652a82b6398c8f7b983}


name of file 

\begin{DoxyReturn}{Returns}
the file name 
\end{DoxyReturn}


Definition at line 259 of file shipcadmodel.\+cpp.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!get\+File\+Version@{get\+File\+Version}}
\index{get\+File\+Version@{get\+File\+Version}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{get\+File\+Version() const }{getFileVersion() const }}]{\setlength{\rightskip}{0pt plus 5cm}{\bf version\+\_\+t} Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model\+::get\+File\+Version (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{classShipCAD_1_1ShipCADModel_a837f41ecb002cd0e197d365edbef3d52}{}\label{classShipCAD_1_1ShipCADModel_a837f41ecb002cd0e197d365edbef3d52}


Definition at line 151 of file shipcadmodel.\+h.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!get\+Flowline@{get\+Flowline}}
\index{get\+Flowline@{get\+Flowline}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{get\+Flowline(size\+\_\+t index)}{getFlowline(size_t index)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Flowline}$\ast$ Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model\+::get\+Flowline (
\begin{DoxyParamCaption}
\item[{size\+\_\+t}]{index}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{classShipCAD_1_1ShipCADModel_afc5654f671a17dd6672230648842975e}{}\label{classShipCAD_1_1ShipCADModel_afc5654f671a17dd6672230648842975e}


Definition at line 210 of file shipcadmodel.\+h.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!get\+Hydrostatic\+Calculations@{get\+Hydrostatic\+Calculations}}
\index{get\+Hydrostatic\+Calculations@{get\+Hydrostatic\+Calculations}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{get\+Hydrostatic\+Calculations()}{getHydrostaticCalculations()}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Hydrostatic\+Calc\+Vector}\& Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model\+::get\+Hydrostatic\+Calculations (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{classShipCAD_1_1ShipCADModel_aafc30dd7d6b9db4ccfc7bf1c4e2b3b11}{}\label{classShipCAD_1_1ShipCADModel_aafc30dd7d6b9db4ccfc7bf1c4e2b3b11}


Definition at line 195 of file shipcadmodel.\+h.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!get\+Markers@{get\+Markers}}
\index{get\+Markers@{get\+Markers}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{get\+Markers()}{getMarkers()}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Marker\+Vector}\& Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model\+::get\+Markers (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{classShipCAD_1_1ShipCADModel_abc5faaa00b4b34bc1b0b1cd52af4ab3b}{}\label{classShipCAD_1_1ShipCADModel_abc5faaa00b4b34bc1b0b1cd52af4ab3b}


Definition at line 198 of file shipcadmodel.\+h.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!get\+Precision@{get\+Precision}}
\index{get\+Precision@{get\+Precision}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{get\+Precision() const }{getPrecision() const }}]{\setlength{\rightskip}{0pt plus 5cm}{\bf precision\+\_\+t} Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model\+::get\+Precision (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{classShipCAD_1_1ShipCADModel_a0835431712a18b9f83e64135486c1403}{}\label{classShipCAD_1_1ShipCADModel_a0835431712a18b9f83e64135486c1403}


get precision of model 

\begin{DoxyReturn}{Returns}
precision of model 
\end{DoxyReturn}


Definition at line 144 of file shipcadmodel.\+h.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!get\+Preferences@{get\+Preferences}}
\index{get\+Preferences@{get\+Preferences}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{get\+Preferences()}{getPreferences()}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Preferences}\& Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model\+::get\+Preferences (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{classShipCAD_1_1ShipCADModel_aa6af8872deba5b401ac575a85901a265}{}\label{classShipCAD_1_1ShipCADModel_aa6af8872deba5b401ac575a85901a265}


Definition at line 77 of file shipcadmodel.\+h.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!get\+Project\+Settings@{get\+Project\+Settings}}
\index{get\+Project\+Settings@{get\+Project\+Settings}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{get\+Project\+Settings()}{getProjectSettings()}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Project\+Settings}\& Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model\+::get\+Project\+Settings (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{classShipCAD_1_1ShipCADModel_a94a8eed8ac8ff4ad8287a0a1113e3271}{}\label{classShipCAD_1_1ShipCADModel_a94a8eed8ac8ff4ad8287a0a1113e3271}


Definition at line 76 of file shipcadmodel.\+h.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!get\+Stations@{get\+Stations}}
\index{get\+Stations@{get\+Stations}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{get\+Stations()}{getStations()}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Intersection\+Vector}\& Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model\+::get\+Stations (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{classShipCAD_1_1ShipCADModel_a86da3ca66e90403ead21ccc67f584c52}{}\label{classShipCAD_1_1ShipCADModel_a86da3ca66e90403ead21ccc67f584c52}


Definition at line 154 of file shipcadmodel.\+h.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!get\+Surface@{get\+Surface}}
\index{get\+Surface@{get\+Surface}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{get\+Surface()}{getSurface()}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Subdivision\+Surface}$\ast$ Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model\+::get\+Surface (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{classShipCAD_1_1ShipCADModel_a6941ad7a2b167419e844823fa8461019}{}\label{classShipCAD_1_1ShipCADModel_a6941ad7a2b167419e844823fa8461019}


Definition at line 71 of file shipcadmodel.\+h.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!get\+Surface@{get\+Surface}}
\index{get\+Surface@{get\+Surface}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{get\+Surface() const }{getSurface() const }}]{\setlength{\rightskip}{0pt plus 5cm}const {\bf Subdivision\+Surface}$\ast$ Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model\+::get\+Surface (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{classShipCAD_1_1ShipCADModel_ab0b738e5f12d8f7046570704fd801cc6}{}\label{classShipCAD_1_1ShipCADModel_ab0b738e5f12d8f7046570704fd801cc6}


Definition at line 72 of file shipcadmodel.\+h.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!get\+Undo\+Memory@{get\+Undo\+Memory}}
\index{get\+Undo\+Memory@{get\+Undo\+Memory}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{get\+Undo\+Memory() const }{getUndoMemory() const }}]{\setlength{\rightskip}{0pt plus 5cm}size\+\_\+t Ship\+C\+A\+D\+Model\+::get\+Undo\+Memory (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\hypertarget{classShipCAD_1_1ShipCADModel_a6fc43771e5ab6fe985ed894f4a1f779c}{}\label{classShipCAD_1_1ShipCADModel_a6fc43771e5ab6fe985ed894f4a1f779c}


get amount of memory used for undo 

\begin{DoxyReturn}{Returns}
memory used in mb 
\end{DoxyReturn}


Definition at line 386 of file shipcadmodel.\+cpp.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!get\+Visibility@{get\+Visibility}}
\index{get\+Visibility@{get\+Visibility}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{get\+Visibility()}{getVisibility()}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Visibility}\& Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model\+::get\+Visibility (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{classShipCAD_1_1ShipCADModel_a50cca4c783baeba58c8068c9b8a5d6a4}{}\label{classShipCAD_1_1ShipCADModel_a50cca4c783baeba58c8068c9b8a5d6a4}


Definition at line 74 of file shipcadmodel.\+h.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!get\+Visibility@{get\+Visibility}}
\index{get\+Visibility@{get\+Visibility}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{get\+Visibility() const }{getVisibility() const }}]{\setlength{\rightskip}{0pt plus 5cm}const {\bf Visibility}\& Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model\+::get\+Visibility (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{classShipCAD_1_1ShipCADModel_a29d8990bbd06e11c93c6639b76b9fde1}{}\label{classShipCAD_1_1ShipCADModel_a29d8990bbd06e11c93c6639b76b9fde1}


Definition at line 75 of file shipcadmodel.\+h.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!get\+Waterlines@{get\+Waterlines}}
\index{get\+Waterlines@{get\+Waterlines}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{get\+Waterlines()}{getWaterlines()}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Intersection\+Vector}\& Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model\+::get\+Waterlines (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{classShipCAD_1_1ShipCADModel_a6c147a75fa02e43145de346efb9542fd}{}\label{classShipCAD_1_1ShipCADModel_a6c147a75fa02e43145de346efb9542fd}


Definition at line 155 of file shipcadmodel.\+h.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!import\+Chines@{import\+Chines}}
\index{import\+Chines@{import\+Chines}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{import\+Chines(size\+\_\+t np, Spline\+Vector \&chines)}{importChines(size_t np, SplineVector &chines)}}]{\setlength{\rightskip}{0pt plus 5cm}void Ship\+C\+A\+D\+Model\+::import\+Chines (
\begin{DoxyParamCaption}
\item[{size\+\_\+t}]{np, }
\item[{{\bf Spline\+Vector} \&}]{chines}
\end{DoxyParamCaption}
)}\hypertarget{classShipCAD_1_1ShipCADModel_a860a91c09307c71f738a75aec159e6d0}{}\label{classShipCAD_1_1ShipCADModel_a860a91c09307c71f738a75aec159e6d0}


imports chines and creates developable surface 


\begin{DoxyParams}{Parameters}
{\em np} & number of control points to create per spline \\
\hline
{\em chines} & a list of chines \\
\hline
\end{DoxyParams}


Definition at line 1609 of file shipcadmodel.\+cpp.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!is\+Build@{is\+Build}}
\index{is\+Build@{is\+Build}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{is\+Build() const }{isBuild() const }}]{\setlength{\rightskip}{0pt plus 5cm}bool Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model\+::is\+Build (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{classShipCAD_1_1ShipCADModel_ad2333f42cf37a754f3d29b33466e5cd2}{}\label{classShipCAD_1_1ShipCADModel_ad2333f42cf37a754f3d29b33466e5cd2}


Definition at line 99 of file shipcadmodel.\+h.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!is\+File\+Changed@{is\+File\+Changed}}
\index{is\+File\+Changed@{is\+File\+Changed}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{is\+File\+Changed() const }{isFileChanged() const }}]{\setlength{\rightskip}{0pt plus 5cm}bool Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model\+::is\+File\+Changed (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{classShipCAD_1_1ShipCADModel_aac25049d627953c15c5343b2f888f688}{}\label{classShipCAD_1_1ShipCADModel_aac25049d627953c15c5343b2f888f688}


file changed flag 

\begin{DoxyReturn}{Returns}
true if file changed 
\end{DoxyReturn}


Definition at line 244 of file shipcadmodel.\+h.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!is\+Filename\+Set@{is\+Filename\+Set}}
\index{is\+Filename\+Set@{is\+Filename\+Set}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{is\+Filename\+Set() const }{isFilenameSet() const }}]{\setlength{\rightskip}{0pt plus 5cm}bool Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model\+::is\+Filename\+Set (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{classShipCAD_1_1ShipCADModel_a9aa140f98f5f02a30743e2b9ce3d7d28}{}\label{classShipCAD_1_1ShipCADModel_a9aa140f98f5f02a30743e2b9ce3d7d28}


get flag for filename set 

\begin{DoxyReturn}{Returns}
true if filename has been set 
\end{DoxyReturn}


Definition at line 186 of file shipcadmodel.\+h.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!is\+Selected\+Flowline@{is\+Selected\+Flowline}}
\index{is\+Selected\+Flowline@{is\+Selected\+Flowline}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{is\+Selected\+Flowline(\+Flowline $\ast$flow) const }{isSelectedFlowline(Flowline *flow) const }}]{\setlength{\rightskip}{0pt plus 5cm}bool Ship\+C\+A\+D\+Model\+::is\+Selected\+Flowline (
\begin{DoxyParamCaption}
\item[{{\bf Flowline} $\ast$}]{flow}
\end{DoxyParamCaption}
) const}\hypertarget{classShipCAD_1_1ShipCADModel_afcac043bc1d1c627e95ca1bc4aa0174e}{}\label{classShipCAD_1_1ShipCADModel_afcac043bc1d1c627e95ca1bc4aa0174e}


is the flowline selected 


\begin{DoxyParams}{Parameters}
{\em flow} & flowline to check \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true if flowline selected 
\end{DoxyReturn}


Definition at line 1140 of file shipcadmodel.\+cpp.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!is\+Selected\+Marker@{is\+Selected\+Marker}}
\index{is\+Selected\+Marker@{is\+Selected\+Marker}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{is\+Selected\+Marker(\+Marker $\ast$mark) const }{isSelectedMarker(Marker *mark) const }}]{\setlength{\rightskip}{0pt plus 5cm}bool Ship\+C\+A\+D\+Model\+::is\+Selected\+Marker (
\begin{DoxyParamCaption}
\item[{{\bf Marker} $\ast$}]{mark}
\end{DoxyParamCaption}
) const}\hypertarget{classShipCAD_1_1ShipCADModel_ac7aabd58923105ec36b27d44d747aa42}{}\label{classShipCAD_1_1ShipCADModel_ac7aabd58923105ec36b27d44d747aa42}


Definition at line 1094 of file shipcadmodel.\+cpp.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!load\+Binary@{load\+Binary}}
\index{load\+Binary@{load\+Binary}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{load\+Binary(\+File\+Buffer \&source)}{loadBinary(FileBuffer &source)}}]{\setlength{\rightskip}{0pt plus 5cm}void Ship\+C\+A\+D\+Model\+::load\+Binary (
\begin{DoxyParamCaption}
\item[{{\bf File\+Buffer} \&}]{source}
\end{DoxyParamCaption}
)}\hypertarget{classShipCAD_1_1ShipCADModel_ad3e49bc04c73dc221e48d15974b68f41}{}\label{classShipCAD_1_1ShipCADModel_ad3e49bc04c73dc221e48d15974b68f41}


Definition at line 928 of file shipcadmodel.\+cpp.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!load\+Chines\+From\+Text@{load\+Chines\+From\+Text}}
\index{load\+Chines\+From\+Text@{load\+Chines\+From\+Text}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{load\+Chines\+From\+Text(\+Q\+Text\+Stream \&file, Spline\+Vector \&splines)}{loadChinesFromText(QTextStream &file, SplineVector &splines)}}]{\setlength{\rightskip}{0pt plus 5cm}void Ship\+C\+A\+D\+Model\+::load\+Chines\+From\+Text (
\begin{DoxyParamCaption}
\item[{Q\+Text\+Stream \&}]{file, }
\item[{{\bf Spline\+Vector} \&}]{splines}
\end{DoxyParamCaption}
)}\hypertarget{classShipCAD_1_1ShipCADModel_ae03a368cf40f1781fb0ed8a60248dcc6}{}\label{classShipCAD_1_1ShipCADModel_ae03a368cf40f1781fb0ed8a60248dcc6}


load splines from a text file 


\begin{DoxyParams}{Parameters}
{\em file} & the textstream to load from \\
\hline
{\em splines} & the vector to store loaded splines \\
\hline
\end{DoxyParams}


Definition at line 1530 of file shipcadmodel.\+cpp.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!load\+Part@{load\+Part}}
\index{load\+Part@{load\+Part}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{load\+Part(\+File\+Buffer \&source, version\+\_\+t \&partversion)}{loadPart(FileBuffer &source, version_t &partversion)}}]{\setlength{\rightskip}{0pt plus 5cm}bool Ship\+C\+A\+D\+Model\+::load\+Part (
\begin{DoxyParamCaption}
\item[{{\bf File\+Buffer} \&}]{source, }
\item[{{\bf version\+\_\+t} \&}]{partversion}
\end{DoxyParamCaption}
)}\hypertarget{classShipCAD_1_1ShipCADModel_a167bdeeb8995f102acdbb8cdb92f34e3}{}\label{classShipCAD_1_1ShipCADModel_a167bdeeb8995f102acdbb8cdb92f34e3}


load a part 


\begin{DoxyParams}{Parameters}
{\em buffer} & the source of the part file \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true if geometry actually loaded 
\end{DoxyReturn}


Definition at line 1402 of file shipcadmodel.\+cpp.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!load\+Preview@{load\+Preview}}
\index{load\+Preview@{load\+Preview}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{load\+Preview(\+File\+Buffer \&source, Q\+Image $\ast$image)}{loadPreview(FileBuffer &source, QImage *image)}}]{\setlength{\rightskip}{0pt plus 5cm}void Ship\+C\+A\+D\+Model\+::load\+Preview (
\begin{DoxyParamCaption}
\item[{{\bf File\+Buffer} \&}]{source, }
\item[{Q\+Image $\ast$}]{image}
\end{DoxyParamCaption}
)}\hypertarget{classShipCAD_1_1ShipCADModel_a6be8a5765b6b9ee5b5dc0397bdd43be5}{}\label{classShipCAD_1_1ShipCADModel_a6be8a5765b6b9ee5b5dc0397bdd43be5}


load the preview image from a file 


\begin{DoxyParams}{Parameters}
{\em source} & the filebuffer to load image from \\
\hline
{\em image} & where to put the loaded image \\
\hline
\end{DoxyParams}


Definition at line 905 of file shipcadmodel.\+cpp.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!move\+Faces@{move\+Faces}}
\index{move\+Faces@{move\+Faces}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{move\+Faces(std\+::vector$<$ Subdivision\+Control\+Point $\ast$ $>$ \&points, const Q\+Vector3\+D \&vec, bool adjust\+\_\+markers)}{moveFaces(std::vector< SubdivisionControlPoint * > &points, const QVector3D &vec, bool adjust_markers)}}]{\setlength{\rightskip}{0pt plus 5cm}void Ship\+C\+A\+D\+Model\+::move\+Faces (
\begin{DoxyParamCaption}
\item[{std\+::vector$<$ {\bf Subdivision\+Control\+Point} $\ast$ $>$ \&}]{points, }
\item[{const Q\+Vector3D \&}]{vec, }
\item[{bool}]{adjust\+\_\+markers}
\end{DoxyParamCaption}
)}\hypertarget{classShipCAD_1_1ShipCADModel_ac1b60be4b08de357c6a1aa0f8e1c0a9b}{}\label{classShipCAD_1_1ShipCADModel_ac1b60be4b08de357c6a1aa0f8e1c0a9b}


move selected faces and all associated data 


\begin{DoxyParams}{Parameters}
{\em vect} & displacement vector \\
\hline
{\em adjust\+\_\+markers} & move markers if true \\
\hline
\end{DoxyParams}


Definition at line 812 of file shipcadmodel.\+cpp.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!new\+Model@{new\+Model}}
\index{new\+Model@{new\+Model}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{new\+Model(unit\+\_\+type\+\_\+t units, float length, float breadth, float draft, size\+\_\+t rows, size\+\_\+t cols)}{newModel(unit_type_t units, float length, float breadth, float draft, size_t rows, size_t cols)}}]{\setlength{\rightskip}{0pt plus 5cm}void Ship\+C\+A\+D\+Model\+::new\+Model (
\begin{DoxyParamCaption}
\item[{{\bf unit\+\_\+type\+\_\+t}}]{units, }
\item[{float}]{length, }
\item[{float}]{breadth, }
\item[{float}]{draft, }
\item[{size\+\_\+t}]{rows, }
\item[{size\+\_\+t}]{cols}
\end{DoxyParamCaption}
)}\hypertarget{classShipCAD_1_1ShipCADModel_adcf0db573afa7c865de68d0b36d41f15}{}\label{classShipCAD_1_1ShipCADModel_adcf0db573afa7c865de68d0b36d41f15}


create a new model 


\begin{DoxyParams}{Parameters}
{\em units} & units to use in model \\
\hline
{\em length} & length of new hull \\
\hline
{\em breadth} & beam of new hull \\
\hline
{\em draft} & draft of new hull \\
\hline
{\em rows} & how many rows of control points \\
\hline
{\em cols} & how many cols of control points \\
\hline
\end{DoxyParams}


Definition at line 1220 of file shipcadmodel.\+cpp.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!number\+Of\+Flowlines@{number\+Of\+Flowlines}}
\index{number\+Of\+Flowlines@{number\+Of\+Flowlines}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{number\+Of\+Flowlines() const }{numberOfFlowlines() const }}]{\setlength{\rightskip}{0pt plus 5cm}size\+\_\+t Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model\+::number\+Of\+Flowlines (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{classShipCAD_1_1ShipCADModel_a7bb6418bfa20645211e6bdbf8c6ef951}{}\label{classShipCAD_1_1ShipCADModel_a7bb6418bfa20645211e6bdbf8c6ef951}


Definition at line 211 of file shipcadmodel.\+h.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!number\+Of\+Markers@{number\+Of\+Markers}}
\index{number\+Of\+Markers@{number\+Of\+Markers}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{number\+Of\+Markers() const }{numberOfMarkers() const }}]{\setlength{\rightskip}{0pt plus 5cm}size\+\_\+t Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model\+::number\+Of\+Markers (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{classShipCAD_1_1ShipCADModel_a6feda4dd07262d1f137f8f8a677bd23d}{}\label{classShipCAD_1_1ShipCADModel_a6feda4dd07262d1f137f8f8a677bd23d}


Definition at line 199 of file shipcadmodel.\+h.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!number\+Of\+Selected\+Flowlines@{number\+Of\+Selected\+Flowlines}}
\index{number\+Of\+Selected\+Flowlines@{number\+Of\+Selected\+Flowlines}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{number\+Of\+Selected\+Flowlines() const }{numberOfSelectedFlowlines() const }}]{\setlength{\rightskip}{0pt plus 5cm}size\+\_\+t Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model\+::number\+Of\+Selected\+Flowlines (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{classShipCAD_1_1ShipCADModel_a4c534c40efab65e1b92481f1fa7f07a9}{}\label{classShipCAD_1_1ShipCADModel_a4c534c40efab65e1b92481f1fa7f07a9}


count of selected flowlines 

\begin{DoxyReturn}{Returns}
count 
\end{DoxyReturn}


Definition at line 232 of file shipcadmodel.\+h.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!number\+Of\+Selected\+Markers@{number\+Of\+Selected\+Markers}}
\index{number\+Of\+Selected\+Markers@{number\+Of\+Selected\+Markers}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{number\+Of\+Selected\+Markers() const }{numberOfSelectedMarkers() const }}]{\setlength{\rightskip}{0pt plus 5cm}size\+\_\+t Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model\+::number\+Of\+Selected\+Markers (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{classShipCAD_1_1ShipCADModel_a3138ff1240e6ccc1e9072c066a0ffedf}{}\label{classShipCAD_1_1ShipCADModel_a3138ff1240e6ccc1e9072c066a0ffedf}


Definition at line 204 of file shipcadmodel.\+h.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!rebuild\+Model@{rebuild\+Model}}
\index{rebuild\+Model@{rebuild\+Model}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{rebuild\+Model(bool redo\+\_\+intersections)}{rebuildModel(bool redo_intersections)}}]{\setlength{\rightskip}{0pt plus 5cm}void Ship\+C\+A\+D\+Model\+::rebuild\+Model (
\begin{DoxyParamCaption}
\item[{bool}]{redo\+\_\+intersections}
\end{DoxyParamCaption}
)}\hypertarget{classShipCAD_1_1ShipCADModel_a1b27573aab3a458f9002a7e4e327736a}{}\label{classShipCAD_1_1ShipCADModel_a1b27573aab3a458f9002a7e4e327736a}


Definition at line 192 of file shipcadmodel.\+cpp.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!redo@{redo}}
\index{redo@{redo}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{redo()}{redo()}}]{\setlength{\rightskip}{0pt plus 5cm}void Ship\+C\+A\+D\+Model\+::redo (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\hypertarget{classShipCAD_1_1ShipCADModel_ac7f369ecf1a53a751f8774263d3ecd95}{}\label{classShipCAD_1_1ShipCADModel_ac7f369ecf1a53a751f8774263d3ecd95}


redo the last undo 



Definition at line 420 of file shipcadmodel.\+cpp.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!remove\+Selected\+Flowline@{remove\+Selected\+Flowline}}
\index{remove\+Selected\+Flowline@{remove\+Selected\+Flowline}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{remove\+Selected\+Flowline(\+Flowline $\ast$flow)}{removeSelectedFlowline(Flowline *flow)}}]{\setlength{\rightskip}{0pt plus 5cm}void Ship\+C\+A\+D\+Model\+::remove\+Selected\+Flowline (
\begin{DoxyParamCaption}
\item[{{\bf Flowline} $\ast$}]{flow}
\end{DoxyParamCaption}
)}\hypertarget{classShipCAD_1_1ShipCADModel_a341f8be57a7cf6c04356a731b3b30c37}{}\label{classShipCAD_1_1ShipCADModel_a341f8be57a7cf6c04356a731b3b30c37}


deselect a flowline 


\begin{DoxyParams}{Parameters}
{\em flow} & deselect this flowline \\
\hline
\end{DoxyParams}


Definition at line 1151 of file shipcadmodel.\+cpp.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!remove\+Selected\+Marker@{remove\+Selected\+Marker}}
\index{remove\+Selected\+Marker@{remove\+Selected\+Marker}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{remove\+Selected\+Marker(\+Marker $\ast$mark)}{removeSelectedMarker(Marker *mark)}}]{\setlength{\rightskip}{0pt plus 5cm}void Ship\+C\+A\+D\+Model\+::remove\+Selected\+Marker (
\begin{DoxyParamCaption}
\item[{{\bf Marker} $\ast$}]{mark}
\end{DoxyParamCaption}
)}\hypertarget{classShipCAD_1_1ShipCADModel_a7fb06b0a1fa75ef02597752fc3f691a2}{}\label{classShipCAD_1_1ShipCADModel_a7fb06b0a1fa75ef02597752fc3f691a2}


Definition at line 1105 of file shipcadmodel.\+cpp.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!save\+Binary@{save\+Binary}}
\index{save\+Binary@{save\+Binary}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{save\+Binary(\+File\+Buffer \&dest)}{saveBinary(FileBuffer &dest)}}]{\setlength{\rightskip}{0pt plus 5cm}void Ship\+C\+A\+D\+Model\+::save\+Binary (
\begin{DoxyParamCaption}
\item[{{\bf File\+Buffer} \&}]{dest}
\end{DoxyParamCaption}
)}\hypertarget{classShipCAD_1_1ShipCADModel_a64c7c4ddffffdd1be2f27eb4210af2b7}{}\label{classShipCAD_1_1ShipCADModel_a64c7c4ddffffdd1be2f27eb4210af2b7}


Definition at line 1020 of file shipcadmodel.\+cpp.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!save\+Part@{save\+Part}}
\index{save\+Part@{save\+Part}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{save\+Part(const Q\+String \&filename, File\+Buffer \&buffer, std\+::vector$<$ Subdivision\+Control\+Face $\ast$ $>$ \&faces)}{savePart(const QString &filename, FileBuffer &buffer, std::vector< SubdivisionControlFace * > &faces)}}]{\setlength{\rightskip}{0pt plus 5cm}void Ship\+C\+A\+D\+Model\+::save\+Part (
\begin{DoxyParamCaption}
\item[{const Q\+String \&}]{filename, }
\item[{{\bf File\+Buffer} \&}]{buffer, }
\item[{std\+::vector$<$ {\bf Subdivision\+Control\+Face} $\ast$ $>$ \&}]{faces}
\end{DoxyParamCaption}
)}\hypertarget{classShipCAD_1_1ShipCADModel_a0d969a8b0f05767d6507290f118d769c}{}\label{classShipCAD_1_1ShipCADModel_a0d969a8b0f05767d6507290f118d769c}


save selected faces as a part file 


\begin{DoxyParams}{Parameters}
{\em filename} & string stored in file as the part name \\
\hline
{\em buffer} & destination of the part data \\
\hline
{\em faces} & the faces to store as the part \\
\hline
\end{DoxyParams}


Definition at line 1307 of file shipcadmodel.\+cpp.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!scale\+Model@{scale\+Model}}
\index{scale\+Model@{scale\+Model}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{scale\+Model(const Q\+Vector3\+D \&scale, bool override\+\_\+lock, bool adjust\+\_\+markers)}{scaleModel(const QVector3D &scale, bool override_lock, bool adjust_markers)}}]{\setlength{\rightskip}{0pt plus 5cm}void Ship\+C\+A\+D\+Model\+::scale\+Model (
\begin{DoxyParamCaption}
\item[{const Q\+Vector3D \&}]{scale, }
\item[{bool}]{override\+\_\+lock, }
\item[{bool}]{adjust\+\_\+markers}
\end{DoxyParamCaption}
)}\hypertarget{classShipCAD_1_1ShipCADModel_a5e9e159fc6c1fcd06cc14005bb0e51c8}{}\label{classShipCAD_1_1ShipCADModel_a5e9e159fc6c1fcd06cc14005bb0e51c8}


scale the entire model and all associated data such as sttions 


\begin{DoxyParams}{Parameters}
{\em scale} & 3D vector for scale transformation \\
\hline
{\em override\+\_\+lock} & if points are locked, scale them anyway if true \\
\hline
{\em adjust\+\_\+markers} & scale markers if true \\
\hline
\end{DoxyParams}


Definition at line 766 of file shipcadmodel.\+cpp.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!set\+Active\+Control\+Point@{set\+Active\+Control\+Point}}
\index{set\+Active\+Control\+Point@{set\+Active\+Control\+Point}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{set\+Active\+Control\+Point(\+Subdivision\+Control\+Point $\ast$pt)}{setActiveControlPoint(SubdivisionControlPoint *pt)}}]{\setlength{\rightskip}{0pt plus 5cm}void Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model\+::set\+Active\+Control\+Point (
\begin{DoxyParamCaption}
\item[{{\bf Subdivision\+Control\+Point} $\ast$}]{pt}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{classShipCAD_1_1ShipCADModel_a523a7e9948d95a71e9008d386daeafee}{}\label{classShipCAD_1_1ShipCADModel_a523a7e9948d95a71e9008d386daeafee}


set the active control point 


\begin{DoxyParams}{Parameters}
{\em pt} & the new active control point or 0 \\
\hline
\end{DoxyParams}


Definition at line 137 of file shipcadmodel.\+h.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!set\+Build@{set\+Build}}
\index{set\+Build@{set\+Build}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{set\+Build(bool set)}{setBuild(bool set)}}]{\setlength{\rightskip}{0pt plus 5cm}void Ship\+C\+A\+D\+Model\+::set\+Build (
\begin{DoxyParamCaption}
\item[{bool}]{set}
\end{DoxyParamCaption}
)}\hypertarget{classShipCAD_1_1ShipCADModel_ab221977f2a8bd4d51d6ee777be0d7b8a}{}\label{classShipCAD_1_1ShipCADModel_ab221977f2a8bd4d51d6ee777be0d7b8a}


Definition at line 173 of file shipcadmodel.\+cpp.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!set\+Edit\+Mode@{set\+Edit\+Mode}}
\index{set\+Edit\+Mode@{set\+Edit\+Mode}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{set\+Edit\+Mode(edit\+\_\+mode\+\_\+t mode)}{setEditMode(edit_mode_t mode)}}]{\setlength{\rightskip}{0pt plus 5cm}void Ship\+C\+A\+D\+Model\+::set\+Edit\+Mode (
\begin{DoxyParamCaption}
\item[{{\bf edit\+\_\+mode\+\_\+t}}]{mode}
\end{DoxyParamCaption}
)}\hypertarget{classShipCAD_1_1ShipCADModel_a2636160d900b8d8b00802ae78ee87925}{}\label{classShipCAD_1_1ShipCADModel_a2636160d900b8d8b00802ae78ee87925}


Definition at line 232 of file shipcadmodel.\+cpp.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!set\+File\+Changed@{set\+File\+Changed}}
\index{set\+File\+Changed@{set\+File\+Changed}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{set\+File\+Changed(bool changed)}{setFileChanged(bool changed)}}]{\setlength{\rightskip}{0pt plus 5cm}void Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model\+::set\+File\+Changed (
\begin{DoxyParamCaption}
\item[{bool}]{changed}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{classShipCAD_1_1ShipCADModel_ae8fe6d69df313f7459235de1a0614e8c}{}\label{classShipCAD_1_1ShipCADModel_ae8fe6d69df313f7459235de1a0614e8c}


set file changed flag 


\begin{DoxyParams}{Parameters}
{\em changed} & new value for flag \\
\hline
\end{DoxyParams}


Definition at line 249 of file shipcadmodel.\+h.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!set\+Filename@{set\+Filename}}
\index{set\+Filename@{set\+Filename}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{set\+Filename(const Q\+String \&name)}{setFilename(const QString &name)}}]{\setlength{\rightskip}{0pt plus 5cm}void Ship\+C\+A\+D\+Model\+::set\+Filename (
\begin{DoxyParamCaption}
\item[{const Q\+String \&}]{name}
\end{DoxyParamCaption}
)}\hypertarget{classShipCAD_1_1ShipCADModel_a07daf75d876f80296f841f5c8d2327cb}{}\label{classShipCAD_1_1ShipCADModel_a07daf75d876f80296f841f5c8d2327cb}


set the name of the file 


\begin{DoxyParams}{Parameters}
{\em name} & name of the file \\
\hline
\end{DoxyParams}


Definition at line 267 of file shipcadmodel.\+cpp.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!set\+Filename\+Set@{set\+Filename\+Set}}
\index{set\+Filename\+Set@{set\+Filename\+Set}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{set\+Filename\+Set(bool flag)}{setFilenameSet(bool flag)}}]{\setlength{\rightskip}{0pt plus 5cm}void Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model\+::set\+Filename\+Set (
\begin{DoxyParamCaption}
\item[{bool}]{flag}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{classShipCAD_1_1ShipCADModel_a960f3e97ef2aa847c9bb7cdc7731cd39}{}\label{classShipCAD_1_1ShipCADModel_a960f3e97ef2aa847c9bb7cdc7731cd39}


set flag for filename set 


\begin{DoxyParams}{Parameters}
{\em set} & new flag for filename set \\
\hline
\end{DoxyParams}


Definition at line 192 of file shipcadmodel.\+h.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!set\+File\+Version@{set\+File\+Version}}
\index{set\+File\+Version@{set\+File\+Version}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{set\+File\+Version(version\+\_\+t v)}{setFileVersion(version_t v)}}]{\setlength{\rightskip}{0pt plus 5cm}void Ship\+C\+A\+D\+Model\+::set\+File\+Version (
\begin{DoxyParamCaption}
\item[{{\bf version\+\_\+t}}]{v}
\end{DoxyParamCaption}
)}\hypertarget{classShipCAD_1_1ShipCADModel_a44ac7a48c0c01cae73bf723120071e72}{}\label{classShipCAD_1_1ShipCADModel_a44ac7a48c0c01cae73bf723120071e72}


Definition at line 1086 of file shipcadmodel.\+cpp.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!set\+Precision@{set\+Precision}}
\index{set\+Precision@{set\+Precision}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{set\+Precision(precision\+\_\+t precision)}{setPrecision(precision_t precision)}}]{\setlength{\rightskip}{0pt plus 5cm}void Ship\+C\+A\+D\+Model\+::set\+Precision (
\begin{DoxyParamCaption}
\item[{{\bf precision\+\_\+t}}]{precision}
\end{DoxyParamCaption}
)}\hypertarget{classShipCAD_1_1ShipCADModel_a6133fe12cd13b6ce24424e19a8b1e433}{}\label{classShipCAD_1_1ShipCADModel_a6133fe12cd13b6ce24424e19a8b1e433}


set precision of model 


\begin{DoxyParams}{Parameters}
{\em precision} & new precision for model \\
\hline
\end{DoxyParams}


Definition at line 222 of file shipcadmodel.\+cpp.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!set\+Selected\+Flowline@{set\+Selected\+Flowline}}
\index{set\+Selected\+Flowline@{set\+Selected\+Flowline}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{set\+Selected\+Flowline(\+Flowline $\ast$flow)}{setSelectedFlowline(Flowline *flow)}}]{\setlength{\rightskip}{0pt plus 5cm}void Ship\+C\+A\+D\+Model\+::set\+Selected\+Flowline (
\begin{DoxyParamCaption}
\item[{{\bf Flowline} $\ast$}]{flow}
\end{DoxyParamCaption}
)}\hypertarget{classShipCAD_1_1ShipCADModel_a33962f53b44136c2840f8f7fa2e362f3}{}\label{classShipCAD_1_1ShipCADModel_a33962f53b44136c2840f8f7fa2e362f3}


set a flowline as selected 


\begin{DoxyParams}{Parameters}
{\em flow} & set this flowline as selected \\
\hline
\end{DoxyParams}


Definition at line 1146 of file shipcadmodel.\+cpp.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!set\+Selected\+Marker@{set\+Selected\+Marker}}
\index{set\+Selected\+Marker@{set\+Selected\+Marker}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{set\+Selected\+Marker(\+Marker $\ast$mark)}{setSelectedMarker(Marker *mark)}}]{\setlength{\rightskip}{0pt plus 5cm}void Ship\+C\+A\+D\+Model\+::set\+Selected\+Marker (
\begin{DoxyParamCaption}
\item[{{\bf Marker} $\ast$}]{mark}
\end{DoxyParamCaption}
)}\hypertarget{classShipCAD_1_1ShipCADModel_afd7e984f4070d08cb16264c1b731580f}{}\label{classShipCAD_1_1ShipCADModel_afd7e984f4070d08cb16264c1b731580f}


Definition at line 1100 of file shipcadmodel.\+cpp.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!undo@{undo}}
\index{undo@{undo}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{undo()}{undo()}}]{\setlength{\rightskip}{0pt plus 5cm}void Ship\+C\+A\+D\+Model\+::undo (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\hypertarget{classShipCAD_1_1ShipCADModel_a31cd6dcb665c21c1626599d57ae73684}{}\label{classShipCAD_1_1ShipCADModel_a31cd6dcb665c21c1626599d57ae73684}


undo the last operation 



Definition at line 394 of file shipcadmodel.\+cpp.

\index{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}!undo\+Data\+Changed@{undo\+Data\+Changed}}
\index{undo\+Data\+Changed@{undo\+Data\+Changed}!Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model@{Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model}}
\subsubsection[{\texorpdfstring{undo\+Data\+Changed}{undoDataChanged}}]{\setlength{\rightskip}{0pt plus 5cm}void Ship\+C\+A\+D\+::\+Ship\+C\+A\+D\+Model\+::undo\+Data\+Changed (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [signal]}}\hypertarget{classShipCAD_1_1ShipCADModel_a036ed7f2f1f5e592c64ef8f0ccf29204}{}\label{classShipCAD_1_1ShipCADModel_a036ed7f2f1f5e592c64ef8f0ccf29204}


The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
Ship\+C\+A\+Dlib/\hyperlink{shipcadmodel_8h}{shipcadmodel.\+h}\item 
Ship\+C\+A\+Dlib/\hyperlink{shipcadmodel_8cpp}{shipcadmodel.\+cpp}\end{DoxyCompactItemize}
